package com.company.emallbackend.service;

import com.company.emallbackend.entity.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hanlijian
 * @since 2023-01-12
 */
public interface IProductService extends IService<Product> {

    /**
     * 上传商品图片
     * @param file
     * @return
     */
    String upload(MultipartFile file);
}
